<template>
	<view class="container">
		
		<view class="un-biao">
			<image src='/static/logo.png' mode="aspectFit" style="width: 500upx;height:190upx;"></image>
			<!-- <text class="iconfont icon-u11" style="color:#E02E24 ; font-size: 160upx;"></text> -->
		</view>
		<view class="un-ti">
			<!-- <text>亿拼惠</text> -->
		</view>
		
		<view class="lian-section">
			<view class="title-item">
				<text class="un-ti2">客服热线：0791－86762288</text>
				<text class="un-ti2 clamp">客服邮箱：3207399445@qq.com</text>
				<text class="un-ti2 clamp">当前版本：v 1.0.0</text>
			</view>
		</view>
		
		<view class="un-ti1">
			<text class="un-ti11 clamp" @click="navTo('/pages/agreement/privacyAgreement/privacyAgreement')">《亿拼惠隐私协议》</text>
			<text class="un-ti11 clamp" @click="navTo('/pages/agreement/agreement')">《亿拼惠用户协议》</text>
			<text class="clamp">CopyRight@亿拼惠2019-</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		onLoad() {
			this.loadData()
			uni.startPullDownRefresh();
		},
		onPullDownRefresh() {
			console.log('refresh');
			setTimeout(function () {
				uni.stopPullDownRefresh();
			}, 1000);
		},
		methods: {
			navTo(url){
				uni.navigateTo({  
					url
				})  
			}, 
			async loadData(){
				this.$http.post("/common/versions",{
							SIGNATURE:uni.getStorageSync("SIGNATURE"),
				}).then(res=>{
					 if(res.data.STATE==='0' && res.statusCode===200){
					}
				}).catch(err=>{
							console.log('request fail',err);
				})
			}
		}
	}
</script>

<style lang="scss">

page {
		background: #f5f5f5;
	}
	.un-biao{
		 width: 100%;
		 height: 200upx;
		 font-size: 200upx;
		 text-align: center;
		 margin-top: 150upx;
		
		 
	}
	.un-ti{
		font-size: 55upx;
		text-align: center;
		margin-bottom:200upx ;
		margin-top:40upx;
		font-weight: 900;
		color: $font-color-light;
	}
	.lian-section{
		margin: 60upx;
		display:flex;
		flex-wrap:wrap;
		padding: 10upx 20upx;
		background: #fff;
	}
	
	.title-item{
		margin: 23upx 95upx;
	}

	.un-ti1{
		text-align: center;
		margin-top: 200upx;
		color: $font-color-light;
		font-size: 22upx;
	}
	.un-ti11{
		text-align: center;
		margin: 20upx 0upx;
		color: #4D8CF2;
		font-size: 22upx;
		font-weight:600;
	}
	.un-ti2{
		color: $font-color-light;
		font-size: 20upx;
		line-height: 35upx;
		margin: 25upx;
	}
</style>
